-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add stub definitions of inject debug resources targets to fix runtimeinfo build dependency issues. #51254
Conversation
…info build dependency issues.
Tagging subscribers to this area: @hoyosjs |
@jkoritzinsky that appears to have fixed the issue for me. Thank you! |
@@ -243,6 +243,9 @@ if(CLR_CMAKE_TARGET_WIN32) | |||
add_custom_target(inject_debug_resources_singlefilehost ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/inject_debug_resources_singlefilehost.timestamp) | |||
add_dependencies(runtime inject_debug_resources_singlefilehost) | |||
endif() | |||
else() | |||
add_custom_target(inject_debug_resources_coreclr DEPENDS coreclr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other thing that we could do is make runtimeinfo depend on inject_debug_resources_coreclr on windows, given that conceptually there's no external resources needed for debugging coreclr. Do you have a preference between the dependencies vs this phony target?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather do the phony target so we don't need to add a different dependency that has the same effect on non-Windows platforms.
Hello @hoyosjs! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Failure looks like a machine disconnect. Merging. |
Should fix #51248
@vcsjones can you validate?